home *** CD-ROM | disk | FTP | other *** search
- ; Shaders Script file
- ; Copyright (c) 2001-2003 Crytek Studios. All Rights Reserved.
- ; Author: Honich Andrey
-
- Version (1.00)
-
- //========================================================================
- // ATI R2xx / NVidia NV2X (PS.1.X and above)
-
- // Specular (masked by gloss map in alpha channel of diffuse texture) and diffuse bump-mapping with real-time reflection map
- // At least three passes on NVidia NV1X for single-multiple light sources
- // One pass on ATI R3XX and NVidia NV3X for single light source (one pass for each additional LS)
- // One pass for single directional light source on any hardware
-
- // Supports:
- // 1. Dot3 light maps
- // 2. Simple light maps
- // 3. Three types of shadow maps (2D, Depth-maps and mixed Depth/2D)
- // 4. Stencil shadows
- // 5. Three types of light sources (Directional, Point/Omni, Projected)
- // 6. Optimised separate techniques for Single/Multiple light sources
- // 7. Optimised separate techniques for PS.2.0 shaders support (to reduce number of passes)
-
- Shader 'TemplBumpSpec_GlossAlpha_EnvCMAmb_RT'
- (
- Params
- (
- Sort = Opaque
- )
- Public
- (
- float 'ReflectAmount' (0.25)
- )
-
- RenderParams
- {
- DrawFarSprites
- DrawStaticObjects
- DrawParticles
- DrawEntities
- DrawIndoors
- DrawDetailTextures
- FullDetailTerrain
- DrawWater
- DrawTerrain
- }
-
- #define $ENVCMAP $EnvironmentCubeMap
- #include "BumpSpecular_GlossAlpha_EnvCM.csi"
- #undefine $ENVCMAP
- )
-
-
-